package com.cainiao.stock.mapper;

import com.cainiao.stock.entity.StockRtInfo;
import com.cainiao.stock.vo.InfoVO;
import com.cainiao.stock.vo.MoreVO;
import com.cainiao.stock.vo.UpdownVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @author zby
 * @description 针对表【stock_rt_info(个股详情信息表)】的数据库操作Mapper
 * @created 2024-06-17 20:58:15
 *  对应实体类 {@link StockRtInfo}
 */
@Mapper
public interface StockRtInfoMapper {

    List<StockRtInfo> selectDateTime(LocalDateTime last);

    List<MoreVO> selectMore(LocalDateTime end);

    List<UpdownVO.UpDownListBean> upDownCount(@Param("begin") LocalDateTime begin,
                                              @Param("end") LocalDateTime end,
                                              @Param("b") Boolean b);

    List<InfoVO> selectStockUpdown(@Param("now") LocalDateTime mocke);
//    List<UpdownVO.UpDownListBean> upDownCount( LocalDateTime begin,
//                                            LocalDateTime end,
//                                             Boolean b);
}




